package com.ms.service.dao;

import com.ms.service.entity.ShoppingCartRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by qihao on 2018/3/29.
 */
public interface ShoppingCartDao {
    public List<ShoppingCartRecord> initShoppinCart(@Param("userId") Integer userId);
    public int addRecord(ShoppingCartRecord scr);
    public int deleteRecord(ShoppingCartRecord scr);
    public int updateRecord(ShoppingCartRecord scr);
    public ShoppingCartRecord getRecord(ShoppingCartRecord scr);
}
